# Check to see if WorkShop is already on the system
set EXISTS = `$WSDIR/chkinstall WorkShop`
if ($EXISTS == "yes" ) then
if (`$WSDIR/xconfirm -B "cancel" -b "install" -t "WorkShop appears be installed on your system already." -t "Do you wish to install WorkShop anyway?"` == "cancel") exit
if (`$WSDIR/xconfirm -B "cancel" -b "install" -t "There is not enough space in /usr to install WorkShop." -t " " -t "Space required: $SPACE_REQ Megabytes." -t "Space available: $SPACE_AVAIL Megabytes." -t " " -t "Do you wish to try to install WorkShop anyway?"` == "cancel") exit
endif
# Last Chance to cancel
if (`$WSDIR/xconfirm -B "cancel" -b "install" -t "Installation of WorkShop will take approximately 5 minutes, " -t "and use $SPACE_REQ Megabytes in /usr." -t " " -t "NOTE: If you have a root passwd, you will need to enter it." -t " " -t "Okay to proceed?"` == "cancel") exit
# Install product
/usr/sbin/xwsh -bg royalblue -fg white \
-geom 80x20+100+100 \
-title "Installing WorkShop..." \
-e /bin/csh -c \
"echo ; \
echo Installation of this product requires ROOT privileges.; \
echo If your system has a ROOT password, you must enter it.; \
echo If you have no ROOT password, you will not be prompted for it.; \